package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SearchAgentiaTypeDaoInter;
import com.mpyy.pojo.AgentiaType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SearchAgentiaTypeSreviceImpl
 * @Author CG
 * @date 2022-03-23
 */
@Service(value = "searchAgentiaTypeSreviceImpl")
public class SearchAgentiaTypeSreviceImpl implements SearchAgentiaTypeSreviceInter {
    @Autowired
    @Qualifier(value = "searchAgentiaTypeDaoInter")
    private SearchAgentiaTypeDaoInter agentiaTypeDaoInter;

    @Override
    public List<AgentiaType> searchAgentiaType() {

        return agentiaTypeDaoInter.searchAgentiaType();
    }
}
